<template>
  <div class="w-full h-full flex csd">
    <div class="h-full flex-1">
      <div class="h-full w-full card">
        <div class="title">电源监控</div>
        <div class="flex cell" style="margin-top: 15px">
          <div class="label">电压(V)</div>
          <div class="right flex">
            <div class="flex">
              <span>AB</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>BC</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>AC</span>
              <div class="num">394.6</div>
            </div>
          </div>
        </div>
        <div class="flex cell">
          <div class="label">电流(A)</div>
          <div class="right flex">
            <div class="flex">
              <span>A</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>B</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>C</span>
              <div class="num">394.6</div>
            </div>
          </div>
        </div>
        <div class="flex cell">
          <div class="label">功率(W)</div>
          <div class="right flex">
            <div class="flex">
              <span>A</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>B</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>C</span>
              <div class="num">394.6</div>
            </div>
          </div>
        </div>
        <div class="flex cell">
          <div class="label">总功率(W)</div>
          <div class="right flex">
            <div class="flex">
              <span>PT</span>
              <div class="num">394.6</div>
            </div>
          </div>
        </div>
        <div class="flex cell">
          <div class="label">用电量(班/kw.h)</div>
          <div class="right flex">
            <div class="flex">
              <span>A班</span>
              <div class="num">394.6</div>
            </div>
            <div class="flex">
              <span>B班</span>
              <div class="num">394.6</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="h-full flex-1">
      <div class="h-full w-full card">
        <div class="title">电子齿轮分子</div>
        <div class="flex cell" style="margin-top: 15px">
          <div class="label" style="flex: 5; text-align: center">实际油温</div>
          <div class="right" style="flex: 10; text-align: center">1111</div>
          <div style="flex: 1"></div>
        </div>
        <div class="flex cell">
          <div class="label" style="flex: 5; text-align: center">设置油温</div>
          <div class="right" style="flex: 10; text-align: center; border: 1px solid #004fff; height: 25px">
            <input class="w-full h-full" style="background: rgba(0, 0, 0, 0); text-align: center; border-radius: 5px" type="text" />
          </div>
          <div style="flex: 1"></div>
        </div>
        <div class="btn">确认</div>
      </div>
    </div>
    <div class="h-full flex-1">
      <div class="h-full w-full card">
        <div class="title">保养</div>
        <div class="flex cell" style="margin-top: 15px">
          <div class="label" style="flex: 5; text-align: center">保养实际时间</div>
          <div class="right" style="flex: 10; text-align: center">1111</div>
          <div style="flex: 1; text-align: center">H</div>
        </div>
        <div class="flex cell">
          <div class="label" style="flex: 5; text-align: center">保养设置时间</div>
          <div class="right" style="flex: 10; text-align: center; border: 1px solid #004fff; height: 25px">
            <input class="w-full h-full" style="background: rgba(0, 0, 0, 0); text-align: center; border-radius: 5px" type="text" />
          </div>
          <div style="flex: 1; text-align: center">H</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
  import { defineComponent } from 'vue'
  export default defineComponent({
    name: 'MoudleThree',
    props: {
      statusList: {
        type: Array,
        default: () => [],
      },
      statusProps: {
        type: String,
        default: 'status',
      },
    },
    data() {
      return {}
    },
    methods: {},
  })
</script>
<style lang="scss" scoped>
  .card {
    background: rgba($color: #5008eb, $alpha: 0.1);
    border-radius: 8px;
    padding: 15px;
    .title {
      background: linear-gradient(to left top, #0055c0, #004bff);
      width: 140px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 17px;
      font-weight: bold;
      letter-spacing: 1px;
      border-radius: 5px;
    }
    .cell {
      height: 55px;
      align-items: center;
      font-size: 14px;
      color: #fff;
      padding: 0 2px;
      .label {
        width: 120px;
      }
      .right {
        flex: 1;
        & > div {
          display: flex;
          align-items: center;
          flex: 1;
        }
        span {
          display: inline-block;
          width: 33px;
          text-align: center;
        }
        .num {
          background: #002386;
          padding: 5px 0;
          border-radius: 3px;
          text-align: center;
          flex: 1;
        }
      }
    }
    .btn {
      background: #004bff;
      height: 35px;
      margin: 10px 15px;
      font-size: 15px;
      font-weight: bold;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      cursor: pointer;
    }
  }
  .csd {
    & > div {
      padding: 30px 0 30px 30px;
      &:last-child {
        padding-right: 30px;
      }
    }
  }
</style>
